package com.yj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yj
 * @since 2020-08-24
 */
public class Houses implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "hid", type = IdType.AUTO)
    private Integer hid;

    private Integer uid;

    private Integer did;

    private String himg;

    private Integer hsize;

    private Integer price;

    private String hinfo;

    private String dinfo;

    private String state;

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }
    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }
    public String getHimg() {
        return himg;
    }

    public void setHimg(String himg) {
        this.himg = himg;
    }
    public Integer getHsize() {
        return hsize;
    }

    public void setHsize(Integer hsize) {
        this.hsize = hsize;
    }
    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }
    public String getHinfo() {
        return hinfo;
    }

    public void setHinfo(String hinfo) {
        this.hinfo = hinfo;
    }
    public String getDinfo() {
        return dinfo;
    }

    public void setDinfo(String dinfo) {
        this.dinfo = dinfo;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Houses{" +
        "hid=" + hid +
        ", uid=" + uid +
        ", did=" + did +
        ", himg=" + himg +
        ", hsize=" + hsize +
        ", price=" + price +
        ", hinfo=" + hinfo +
        ", dinfo=" + dinfo +
        ", state=" + state +
        "}";
    }
}
